package c5.Example1;

public class Example1 {
    public static void main(String[] args) {
        String name = "米线";
        String str1 = new String();
        String str2 = new String("abcd");
        char[] charArray = new char[]{'D', 'E', 'F'};
        String str3 = new String(charArray);
        byte[] arr = {97, 98, 99};
        String str4 = new String(arr);
        System.out.println("a" + str1 + "b");
        System.out.println(str2);
        System.out.println(str3);
        System.out.println(str4);
    }
}
